

package AddressBook.Model.Exception;

/**
 * Thrown when an application attempts to use a key of a hashmap whereas it was not put in
 */
public class NoSuchKeyFoundHashMapException extends Exception {

    /**
     * This constructor initialize the object with no specified message
     */
    public NoSuchKeyFoundHashMapException() {
        super();    //To change body of overridden methods use File | Settings | File Templates.
    }

    /**
     * This constructor initialize the object with the specified message
     * @param message The detail message
     */
    public NoSuchKeyFoundHashMapException(String message) {
        super(message);    //To change body of overridden methods use File | Settings | File Templates.
    }
}
